<template>
  <div class="flex justify-end items-center">
    <div @click="emit('cancel')" class="cursor-pointer w-[114px] h-[48px] rounded-[8px] flex items-center justify-center bg-[#E6E6E6]">
      <span class="text-[#1B1B1B] text-[16px]">取消</span>
    </div>
    <div @click="emit('ok')" class="cursor-pointer w-[114px] h-[48px] rounded-[8px] ml-[20px] flex items-center justify-center bg-[#FF9F00]">
      <span class="text-label-normal text-[16px]">{{ okText || '保存' }}</span>
    </div>
  </div>
</template>
<script setup lang="ts">
const emit = defineEmits(['cancel', 'ok']);
defineProps<{ okText?: string }>();
</script>
<style lang="scss" scoped></style>
